package com.thor.palmmall.rest.unifyversion;

import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.QueryParam;
import javax.ws.rs.core.MediaType;

import com.thor.commons.exception.ThorServiceException;

@Path("/unifyversion/uipapk")
@Produces(MediaType.APPLICATION_JSON + "; charset=utf-8")
@Consumes(MediaType.APPLICATION_JSON + "; charset=utf-8")
public interface UnifyVersionService {

  @GET
  @Path("")
  UIpapk getVersionInfo(@QueryParam("type") UIpapkType type,
      @QueryParam("authCode") String authCode, @QueryParam("version") String version)
      throws ThorServiceException;
}
